package main

import (
	"bytes"
	"bufio"
	"fmt"
)

func main() {
	str:="111,222,333\n444,555,666\n777,888,999"
	buf:=bytes.NewBufferString(str)

	scanner:=bufio.NewScanner(buf)

	for scanner.Scan() {
		fmt.Println("-", scanner.Text())
	}
}
